﻿using System;
using System.Runtime.Serialization;

namespace Entities.DataBase.Obj {
    
    [DataContract]
    public class PurchaseRecordInfo {

        [DataMember]
        public string Id { get; set; }

        [DataMember]
        public string ProductId { get; set; }

        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public string ProductName { get; set; }

        [DataMember]
        public string OperatorId { get; set; }

        [DataMember]
        public string OperatorName { get; set; }

        [DataMember]
        public string PostOperatorId { get; set; }

        [DataMember]
        public decimal Cost { get; set; }

        [DataMember]
        public string CostCurrency { get; set; }

        [DataMember]
        public int Count { get; set; }

        [DataMember]
        public decimal Postage { get; set; }

        [DataMember]
        public double Rate { get; set; }

        [DataMember]
        public int Location { get; set; }
        
        [DataMember]
        public DateTime DateCreated { get; set; }

        [DataMember]
        public DateTime DateUpdated { get; set; }
    }
}